﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates resistance for a single school of magic
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Resistance

        ''' <summary>
        ''' The amount of bonus resistance to this school of magic given to the character's pet
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property PetBonus As Integer

        ''' <summary>
        ''' The character's resistance to this school of magic
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Resistance As Integer

        ''' <summary>
        ''' A constructor that creates new resistance information
        ''' </summary>
        ''' <param name="intPetBonus"></param>
        ''' <param name="intValue"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal intPetBonus As Integer, ByVal intValue As Integer)
            PetBonus = intPetBonus
            Resistance = intValue
        End Sub

    End Class

End Namespace
